﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class User
    {
        private int Account;
        private string Name;
        private int PassWord;

        public int PassWord1 { get => PassWord; set => PassWord = value; }
        public string Name1 { get => Name; set => Name = value; }
        public int Account1 { get => Account; set => Account = value; }
        public User(int Account, string Name,int PassWord)
        {
            this.Account = Account;
            this.Name = Name;
            this.PassWord = PassWord;
        }
        public void will2()
        {
            Console.WriteLine("我的账号是:{0}，我的用户名是:{1}，我的密码是:{2}", this.Account, this.Name, this.PassWord);
        }
    }
}
